package com.example.demo.demos.service;

import com.example.demo.demos.dao.CaiMapper;
import com.example.demo.demos.entity.Cai;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CaiService extends CaiMapper {
    @Override
    Cai selectCai(int id);

    @Override
    List<Cai> selectedAll();

    @Override
    void deleteCai(int id);

    @Override
    void insertCai(Cai cai);

    @Override
    void updateCai(int id);

}




